Element index for package Web Commons
[ a ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ _ ]
_
- __construct
- in file persistence.php, method DataSource::__construct()
Refer to PDO for details about this constructor.
- __construct
- in file view.php, method FileBasedTemplate::__construct()
- __construct
- in file config.php, method IniFileConfig::__construct()
Throws a MisconfigurationException if the file is missing, could not be read or parsed.
- __construct
- in file model.php, method Entity::__construct()
- __construct
- in file controller.php, method ActionException::__construct()
- __get
- in file environment.php, method AbstractContext::__get()
Returns the object/scalar/array/whatever created by the method "createXxx" where "Xxx" = ucfirst($attr). If no such method exists, a ContextException is thrown.
- __get
- in file model.php, method Entity::__get()
Returns the value of the attribute $attr.
- __set
- in file model.php, method Entity::__set()
Returns the value of the attribute $attr.
a
- AbstractContext
- in file environment.php, class AbstractContext
Offers read-only properties related to application context.
- AbstractController
- in file controller.php, class AbstractController
Defines a common base for web controllers.
- AbstractDAO
- in file persistence.php, class AbstractDAO
Serves as a basis for a PDO DAO.
- ActionException
- in file controller.php, class ActionException
Exception thrown when an action ran by runAction() thrown an exception
- ActionNotFoundException
- in file controller.php, class ActionNotFoundException
Exception thrown when the requested action could not be found.
- add
- in file view.php, method SlotHolder::add()
Adds a slot.
- array_get_default
- in file utils.php, function array_get_default()
Returns the value held by an $array at a given $key, or $default if this $key does not exist.
- array_merge_two_dimensional
- in file utils.php, function array_merge_two_dimensional()
Merges two two-dimensional arrays.
c
- close
- in file view.php, method SlotHolder::close()
Stores the previously opened slot. Throws a SlotException if no slot is open.
- Config
- in file config.php, class Config
Provides an access to configuration sections and items.
- config.php
- procedural page config.php
- ContextException
- in file environment.php, class ContextException
Exception thrown when a requested attribute is missing in a Context object.
- controller.php
- procedural page controller.php
- crashIfExists
- in file view.php, method SlotHolder::crashIfExists()
Throws a SlotException if slot $name exists.
- crashIfOpen
- in file view.php, method SlotHolder::crashIfOpen()
If a slot is open, terminates the output buffer and throws a SlotException.
d
- DataSource
- in file persistence.php, class DataSource
Offers connectivity to databases.
e
- Entity
- in file model.php, class Entity
Generic attribute container class.
- environment.php
- procedural page environment.php
- execute
- in file persistence.php, method AbstractDAO::execute()
Prepares and executes a SQL $statement within the connection
- exist
- in file view.php, method SlotHolder::exist()
Returns True if slot $name exists, False otherwise.
f
- FileBasedTemplate
- in file view.php, class FileBasedTemplate
Represents a template described by a PHP/HTML file.
- fromArray
- in file model.php, method Entity::fromArray()
Sets the value of attributes according to an associative array.
g
- get
- in file environment.php, method Request::get()
Returns the GET parameter corresponding to $key, or $default if this key is not defined.
- get
- in file environment.php, method HTTPRequest::get()
(non-PHPdoc)
- getItem
- in file config.php, method Config::getItem()
Returns a configuration $item from a $section
- getItem
- in file config.php, method IniFileConfig::getItem()
(non-PHPdoc)
- getOrCrash
- in file view.php, method SlotHolder::getOrCrash()
Returns the slot $name.
- getOrDefault
- in file view.php, method SlotHolder::getOrDefault()
Returns the value of slot $name if it exists, the default value otherwise.
- getRequest
- in file controller.php, method AbstractController::getRequest()
- getSection
- in file config.php, method Config::getSection()
Returns an array containing values defined inside $section
- getSection
- in file config.php, method IniFileConfig::getSection()
(non-PHPdoc)
h
- HTTPRequest
- in file environment.php, class HTTPRequest
A request that fits a standard web environment.
- hydrate
- in file persistence.php, method AbstractDAO::hydrate()
Interprets row data.
i
- IniFileConfig
- in file config.php, class IniFileConfig
A configuration built with a .ini file.
- insertAndReturnId
- in file persistence.php, method AbstractDAO::insertAndReturnId()
Executes an insert statement and returns the last insert id.
- isOpen
- in file view.php, method SlotHolder::isOpen()
Returns True if a slot is opened.
m
- method
- in file environment.php, method Request::method()
Returns the request method, uppercased.
- method
- in file environment.php, method HTTPRequest::method()
(non-PHPdoc)
- MisconfigurationException
- in file config.php, class MisconfigurationException
Exception thrown when the configuration could not be read or when a requested configuration item is missing.
- model.php
- procedural page model.php
n
- NoMoreRowException
- in file persistence.php, class NoMoreRowException
Exception thrown when there is no more row to build
p
- persistence.php
- procedural page persistence.php
- post
- in file environment.php, method Request::post()
Returns the POST parameter corresponding to $key, or $default if this key is not defined.
- post
- in file environment.php, method HTTPRequest::post()
(non-PHPdoc)
t
- Template
- in file view.php, class Template
Renders an associative array.
- toArray
- in file model.php, method Entity::toArray()
Returns the attributes of this class in an associative array.
|
|